github.com/0chain/gosdk@v1.17.11/docs/uml/get allocations.puml (about) 1 @startuml 2 participant "<size:20><&terminal></size> ./zbox listallocations" as cli 3 collections gosdk 4 5 cli -> gosdk: GetAllocations() 6 7 gosdk -> gosdk: check initialized sdk 8 gosdk -> gosdk: make SC rest api call 9 gosdk -> gosdk: check response result 10 gosdk -> gosdk: create a new map for allocations 11 gosdk -> gosdk: return response result for allocations 12 gosdk --> cli: return allocations 13 @enduml